package com.zbh.uexam.repository;

import com.zbh.uexam.domain.TaskExam;
import com.zbh.uexam.viewmodel.admin.task.TaskPageRequestVM;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TaskExamMapper extends BaseMapper<TaskExam> {
    @Override
    int deleteByPrimaryKey(Integer id);

    @Override
    int insert(TaskExam record);

    @Override
    int insertSelective(TaskExam record);

    @Override
    TaskExam selectByPrimaryKey(Integer id);

    @Override
    int updateByPrimaryKeySelective(TaskExam record);

    @Override
    int updateByPrimaryKey(TaskExam record);

    List<TaskExam> page(TaskPageRequestVM requestVM);

    List<TaskExam> getByGradeLevel(Integer gradeLevel);
}
